package org.lzy.aibg.service.impl;

import org.lzy.aibg.dao.impl.UserDaoImpl;
import org.lzy.aibg.pojo.User;
import org.lzy.aibg.service.UserService;

import java.util.List;

public class UserServiceImpl implements UserService {
    private UserDaoImpl userDao = new UserDaoImpl();
    @Override
    public List<User> getAll(){
        System.out.println("getAll in UserServiceImpl");
        return userDao.selectAll();
    }
}
